<template>
  <div class="profile-table">
    <table class="cus-table">
      <tr>
        <td>项目编号</td>
        <td>{{ profile.code }}</td>
        <td>交货地点</td>
        <td>{{ profile.address }}</td>
      </tr>
      <tr>
        <td>交货地点</td>
        <td>{{ profile.address }}</td>
        <td>项目介绍</td>
        <td>{{ profile.descriptionOuter }}</td>
      </tr>
      <tr></tr>
      <tr>
        <td>立项时间</td>
        <td>{{ profile.createTime | moment('YYYY-MM-DD') }}</td>
        <td>开标时间</td>
        <td>{{ profile.openTime | moment('YYYY-MM-DD HH:mm:ss') }}</td>
      </tr>
      <tr>
        <td>项目文件</td>
        <td>{{ profile.docOuterList }}</td>
        <td></td>
        <td></td>
      </tr>
      <tr>
        <td>付款条件</td>
        <td>{{ profile.paymentClause }}</td>
        <td>合同对接人及联系方式</td>
        <td>{{ profile.contact }}</td>
      </tr>
      <tr v-if="profile.bidStatus">
        <td>项目状态</td>
        <td>{{ profile.bidStatus }}</td>
        <td></td>
        <td></td>
      </tr>
    </table>
  </div>
</template>

<script>
  export default {
    props: {
      profile: {
        type: Object,
        default: () => {},
      },
    },
  };
</script>

<style lang="scss" scoped>
  .cus-table {
    font-size: 14px;

    td:nth-child(odd) {
      width: 160px;
    }
  }
</style>
